<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>用户评论</title>
		<link  rel="stylesheet" th:href="@{/css/comment.css}"/>
		<link rel="stylesheet" th:href="@{/layui/css/layui.css}"/>
	</head>
	<script th:src="@{/layui/layui.js}"></script>
	<body>
		<!-- 导航栏 -->
		<ul class="layui-nav" lay-filter="">
		  <li class="layui-nav-item layui-this"><a href="">金牌教练</a></li>
		  <li class="layui-nav-item"><a href="">我的课程</a></li>
		</ul>
		
		
		<div class="container">
			<tr th:each="comment:${comments}">
				<div class="layui-card comments-card">
					<div class="layui-card-header comments-head">
						<div class="comments-head-left"></div>
						<div class="comments-head-middle" th:text="${comment.getUser().getMemberName()}" ></div>
						<div class="comments-head-right" th:text="${comment.getTime()}"></div>
					</div>
					<div class="layui-card-body" th:text="${comment.getComment()}">
					</div>
				</div>
			</tr>
		</div>
	</body>
</html>